export default function ({ app, store, redirect, route }) {
  if (!store.state.authUser) {
    store.commit('SET_AUTH_URL', route.path)
    return redirect(app.i18n.path('sign'))
  }
}
